package com.ag.zhh.action;

import javax.annotation.Resource;

import com.ag.common.BaseAction;
import com.ag.zhh.service.CTIService;

public class CTIAction extends BaseAction {
	
	@Resource(name="CTIService")
	private CTIService ctiService;
	
	public String findCTIIp() {
		ctiIp = ctiService.getCtiIp();
		return "findCTIIp";
	}
	
	public String updateCTIIp() {
		ctiService.updateCtiIp(ctiIp);
		return "updateCTIIp";
	}
	
	private String ctiIp;

	public String getCtiIp() {
		return ctiIp;
	}

	public void setCtiIp(String ctiIp) {
		this.ctiIp = ctiIp;
	}
}
